package com.cn.qtms.entity.vo.sys;//类注释设置模板

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Name:Resource
 * @Description: 资源信息类 用来存放菜单信息
 * @Author: zhangyang
 * @Date: 2019-11-09 11:13
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Resource {
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;
    @JsonSerialize(using = ToStringSerializer.class)
    private Long parentId;
    private String resCode;
    private String resName;
    private String resType;
    private String resPath;
    private Boolean isLeaf;
    private Integer seQu;
    private Integer resLevel;
    private String icon;
}
